package Before826.datastructure;

public class test {
    public static void main(String[] args) {
        int[] arr = { 9,2,1,5,7,8,3,4,6};
        MidSearch test = new MidSearch();
        MaopaoSort sort = new MaopaoSort();
        ChooseSort sort1 = new ChooseSort();
        InsertSort sort2 = new InsertSort();
//      sort.search2(arr);
//        sort1.Sort(arr);
        sort2.Sort(arr);
        for (Integer i : arr) {
            System.out.print(i);
        }
        System.out.println();
        int[] arr2 = {1,2,3,4,5,6,7,8,9};
        int Nom = 5;
        System.out.println(test.search1( arr2, Nom));
    }
}
